#include<stdio.h>
#include<unistd.h>

int main()
{
	char *arglist[3];

	arglist[0]="ls";
	arglist[1]="-l";
	arglist[2]=0;
	printf("***About to exec ls -l\n");
	execvp(arglist[0],arglist);
	printf("***ls is done.bye\n");
}
